package com.ebase.admin.controller;

import com.ebase.sys.provider.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Package Name:com.ebase.admin.controller
 * Description: That's the purpose of the file
 * Date:2016/8/30 9:51
 * Copyright (c) 2016, zhongmu@suneee.com All Rights Reserved.
 */
@Controller
@RequestMapping(value = "/index")
public class BaseController {

    @Autowired
    private AdminService adminService ;

    @RequestMapping(value = "/aaa",method = RequestMethod.GET)
    public String doIndex(){

        adminService.getIsAdmin(1L);
        return "success";
    }

}
